<?xml version="1.0" encoding="UTF-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$model/UI2/system/components/justep/window/window" data-bind="component:{name:'$model/UI2/system/components/justep/window/window'}" __justepbasexid__="__baseID__" components="$model/UI2/system/components/justep/labelEdit/labelEdit,$model/UI2/system/components/justep/panel/panel,$model/UI2/system/components/justep/panel/child,$model/UI2/system/components/justep/windowDialog/windowDialog,$model/UI2/system/components/justep/textarea/textarea,$model/UI2/system/components/justep/model/model,$model/UI2/system/components/justep/window/window,$model/UI2/system/components/justep/titleBar/titleBar,$model/UI2/system/components/justep/data/data,$model/UI2/system/components/justep/button/button,">  
  <div xmlns="" component="$model/UI2/system/components/justep/model/model" xid="model" style="display:none" data-bind="component:{name:'$model/UI2/system/components/justep/model/model'}"/>  
  <div xmlns="" component="$model/UI2/system/components/justep/panel/panel" class="x-panel x-full" xid="panel1" data-bind="component:{name:'$model/UI2/system/components/justep/panel/panel'}"> 
    <div class="x-panel-top" xid="top1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}"> 
      <div component="$model/UI2/system/components/justep/titleBar/titleBar" class="x-titlebar" xid="titleBar1" data-bind="component:{name:'$model/UI2/system/components/justep/titleBar/titleBar'}" data-config="{&quot;title&quot;:&quot;textarea&quot;}"> 
        <div class="x-titlebar-left" xid="div1"> 
          <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button1" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:closeWin" data-config="{&quot;icon&quot;:&quot;icon-chevron-left&quot;}"> 
            <i xid="i1" class="icon-chevron-left"/>  
            <span xid="span1"/> 
          </a> 
        </div>  
        <div class="x-titlebar-title" xid="div2">textarea</div>  
        <div class="x-titlebar-right " xid="div3"> 
          <div class="empty"/> 
        </div> 
      </div> 
    </div>  
    <div class="x-panel-content" xid="content1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}"> 
      <h3 style="height:48px;vertical-align: middle;padding: 8px;display: inline-block;">textarea</h3>  
      <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:showJsSource" data-config="{&quot;label&quot;:&quot;js&quot;}"> 
        <i/>  
        <span>js</span> 
      </a>  
      <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'},visible:isVisible" data-events="onClick:showTextareaSource" data-config="{&quot;label&quot;:&quot;源码&quot;}"> 
        <i/>  
        <span>源码</span> 
      </a>  
      <div component="$model/UI2/system/components/justep/labelEdit/labelEdit" class="x-label-edit" xid="textareaStyle" data-bind="component:{name:'$model/UI2/system/components/justep/labelEdit/labelEdit'}"> 
        <label class="x-label" xid="label1" data-bind="text:data1.label('text')"/>  
        <textarea component="$model/UI2/system/components/justep/textarea/textarea" class="form-control x-edit" xid="textarea" data-bind="component:{ref:data1.ref('text'),name:'$model/UI2/system/components/justep/textarea/textarea'}" data-config="{&quot;placeHolder&quot;:&quot;请输入......&quot;}"/> 
      </div>  
      <a component="$model/UI2/system/components/justep/button/button" class="btn btn-default" xid="button2" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:getTextAreaValue" data-config="{&quot;label&quot;:&quot;获取textarea中的内容&quot;}"> 
        <i xid="i2"/>  
        <span xid="span2">获取textarea中的内容</span> 
      </a>  
      <br/>  
      <a component="$model/UI2/system/components/justep/button/button" class="btn btn-default" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:dynamicCreateTA" data-config="{&quot;label&quot;:&quot;dynamicCreate&quot;}"> 
        <i/>  
        <span>dynamicCreate</span> 
      </a>  
      <div xid="parent"/> 
    </div> 
  </div>  
  <span xmlns="" component="$model/UI2/system/components/justep/windowDialog/windowDialog" xid="windowDialog" data-bind="component:{name:'$model/UI2/system/components/justep/windowDialog/windowDialog'}" data-config="{&quot;src&quot;:&quot;$model/UI2/system/components/justep/common/demo/dialog.w&quot;}"> 
    <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog-overlay"></div>  
    <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog">  
      <div class="x-dialog-title"> 
        <button class="close"> 
          <span>×</span> 
        </button>  
        <div class="x-dialog-title-text"/> 
      </div>  
      <div class="x-dialog-body"/> 
    </div> 
  </span>  
  <div xmlns="" id="aler"/> 
</div>
